package org.oschina.zb.platform.localmsg.mq;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * 消费者样例.
 * 
 * @author donghu
 *
 */
@Component
@RabbitListener(queues = "service_message_q")
public class DefaultQConsumer extends QConsumer {

	public void doProcess(QMessage qMessage) {
		System.out.println(qMessage.getId());
	}
}